package com.hm.manage.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class DiskUsage {
    private String filesystem;
    private String size;
    private String used;
    private String available;
    private String usePercent;
    private String mountedOn;

    @Override
    public String toString() {
        return String.format("Filesystem: %s, Size: %s, Used: %s, Available: %s, Use%%: %s, Mounted on: %s",
                filesystem, size, used, available, usePercent, mountedOn);
    }
}
